
Partial Class Admin_ConnStringCheck
    Inherits System.Web.UI.Page

    Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
        Dim reader As System.IO.StreamReader
        Dim cQuery As String

        LBL_filename.Text = Session.Item("ViwQueryFileName")
        cQuery = ""
        reader = New System.IO.StreamReader(LBL_filename.Text)
        While Not reader.EndOfStream
            cQuery = String.Concat(cQuery, reader.ReadLine)
        End While
        LBL_query.Text = cQuery

    End Sub

End Class
